package com.zy.project1;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class BankBizImpl implements BankBiz{

    private final BankDao bankDao;


    public List<BankAccount> showAll(){
        List<BankAccount> list=this.bankDao.findAll();
       return list;
    }
}
